<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    var arrayLike = {
      '0': '张三',
      '1': '李四',
      '2': '王五',
      length: 3
    }
    var ary = Array.from(arrayLike);	// (3) ["张三", "李四", "王五"]
    console.log(ary);
  </script>
</body>
</html>